package com.meaningful.design_pattern.strategy_pattern;

import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

import static com.meaningful.design_pattern.strategy_pattern.CustomService.CustomerType.POOR_GUY;

@Component
@Order(Ordered.HIGHEST_PRECEDENCE)
public class DefaultCustomServiceStrategy implements TencentCustomServiceStrategy {

    @Override
    public CustomService.CustomerType support() {
        return POOR_GUY;
    }

    @Override
    public String findCustomService() {
        return "没钱玩你妈逼";
    }

}
